package de.szut.traineeslife.utils;

import java.io.File;
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;

import android.app.Dialog;
import android.content.Context;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.Button;
import android.widget.DatePicker;
import android.widget.DatePicker.OnDateChangedListener;
import android.widget.EditText;
import android.widget.ListView;
import android.widget.Toast;
import de.szut.traineeslife.R;
import de.szut.traineeslife.adapter.SelectReportModelAdapter;
import de.szut.traineeslife.data.User;

public class ProfilHelper implements Serializable{

    private String EducationFromDate;
    private String EducationToDate;
    private String userName;
    private String userEducationSector;
    private String userArtEducation;
    private String pathOfModel;
	private boolean weeklyReport;
	private boolean dailyReport;



	public ProfilHelper() {
    }

    /**Creates the Userprofil
     * @param user
     */
    public void createUserProfil(User user){
    	user.setPreLastName(getUserName());
    	user.setEducationSector(getUserEducationSecotr());
    	user.setArtOfEducation(getUserArtEducation());
    	user.setStartEducation(getEducationFromDate());
    	user.setEndEducation(getEducationToDate());
    	user.setPathOfModel(getPathOfModel());
    }
    
    public void searchForFilesInPath() {

    }

    public String getEducationFromDate() {
        return EducationFromDate;
    }

    public void setEducationFromDate( String educationFromDate ) {
        EducationFromDate = educationFromDate;
    }

    public String getEducationToDate() {
        return EducationToDate;
    }

    public void setEducationToDate( String educationToDate ) {
        EducationToDate = educationToDate;
    }

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserEducationSecotr() {
		return userEducationSector;
	}

	public void setUserEducationSecotr(String userEducationSecotr) {
		this.userEducationSector = userEducationSecotr;
	}

	public String getUserArtEducation() {
		return userArtEducation;
	}

	public void setUserArtEducation(String userArtEducation) {
		this.userArtEducation = userArtEducation;
	}

	public String getUserEducationSector() {
		return userEducationSector;
	}
	
	public void setUserEducationSector(String userEducationSector) {
		this.userEducationSector = userEducationSector;
	}
	
	public String getPathOfModel() {
		return pathOfModel;
	}
	
	public void setPathOfModel(String pathOfModel) {
		this.pathOfModel = pathOfModel;
	}
    
	public boolean isWeeklyReport() {
		return this.weeklyReport;
	}
	
	public void setWeeklyReport(boolean weeklyReport) {
		this.weeklyReport = weeklyReport;
	}

	public boolean isDailyReport() {
		return dailyReport;
	}

	public void setDailyReport(boolean dailyReport) {
		this.dailyReport = dailyReport;
	}
	
}
